<extend name="Base/common"/>
<!--<script type="text/javascript" src="/SG_Shopwechat/Public/Home/js/iscroll.js"></script>-->
<block name="TITLE"><title>采购申请</title></block>
<block name="body" >
    <header data-am-widget="header" class="am-header am-header-default am-header-fixed">
        <div class="am-header-left am-header-nav">
            <a href="{:U('Purchase/index')}" class="">
                <i class="am-header-icon am-icon-home" style="font-size: 40px;"></i>
            </a>
        </div>
        <h1 class="am-header-title">
            <a href="#title-link" class="">
                &nbsp;{$title}
            </a>
        </h1>

    </header>
    <div class="  am-list-news-bd" >
        <empty name="_goods">
            暂时没有商品
            <else/>
            <table class="am-table am-table-striped"  style="width:100%;">
                <thead style="">
                <tr>
                    <th>批次号</th>
                    <th>创建时间</th>
                    <th>创建人</th>
                    <th>详情</th>
                </tr>
                </thead>
                <volist name="_goods" id="vo">
                    <tr>
                        <td>{$vo.batch}</td>
                        <td>{$vo.createdAt|time_format}</td>
                        <td>{$vo.user}</td>
                        <td>
                            <a href="{:U('historylist_detail')}&batch={$vo.batch}" class="am-btn am-btn-primary am-radius am-btn-sm">详情</a>
                        </td>
                    </tr>
                </volist>
            </table>
        </empty>
    </div>
</block>